<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
</head>
<body>
<form action="" method="post">
           <input type="hidden" size="20" name="id" value="${user.stuId }">
   <table>
       <tr>
         <td>学生姓名：</td>
         <td>
           <input type="text" size="20" name="stuName" value="${user.stuName }"><span style="color:red">*</span>
         </td>
         <td>
         <td style="color:gray"></td>
       </tr>
       <tr>
         <td>学生性别：</td>
         <td>
           <input id="woman" type="radio" name="sex" value="女" ${user.sex=='女'? 'checked':'' }/>女
           <input id="man" type="radio" name="sex" value="男" ${user.sex=='男'? 'checked':'' }/>男
           
         </td>
         <td></td>
         <td></td>
       </tr>
       <tr>
         <td>联系方式：</td>
         <td>
           <input type="text" size="20" name="mtel" value="${user.mtel }"><span style="color:red">*</span>
         </td>
         <td></td>
         <td style="color:gray"></td>
       </tr>
       <tr>
         <td>Q    Q：</td>
         <td>
           <input type="text" size="20" name="qq" value="${user.qq }"><span style="color:red">*</span>
         </td>
         <td></td>
         <td style="color:gray"></td>
       </tr>
       <tr>
         <td>家庭住址：</td>
         <td>
           <input type="text" size="20" name="address" value="${user.address }"><span style="color:red">*</span>
         </td>
         <td></td>
         <td style="color:gray"></td>
       </tr>
       <tr>
         <td>所在班级：</td>
         <td>
           <input type="text" size="20" name="className" value="${user.className }"><span style="color:red">*</span>
         </td>
         <td></td>
         <td style="color:gray"></td>
       </tr>
       <tr>
         <td></td>
         <td></td>
         <td></td>
         <td>
            <a href="StudentServlet?req=selectAll">返回</a>
         </td>
      </tr>
       
   </table>
     </form>
</body>
</html>